package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.TGradeInfo;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface TGradeInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TGradeInfo record);

    int insertSelective(TGradeInfo record);

    TGradeInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TGradeInfo record);

    int updateByPrimaryKey(TGradeInfo record);
    
    public List<Map<String,Object>> searchByPage(Map<String,Object> searchParams);
    
    public List<TGradeInfo> findAll();
    
    public List<TGradeInfo> findBySchoolId(int schoolId);
}